Xbasic

EMAIL_PROFILE_VALID Function

Syntax

Result_Flag as L = email_profile_valid([C profile ])

Arguments

profileCharacter

The name of the email profile to evaluate.

Returns

Result_FlagLogical

TRUE (.T.) = the profile has all necessary information FALSE (.F.) = the profile is incomplete or has invalid values.

Description

The EMAIL_PROFILE_VALID() function checks the specified email profile and returns TRUE (.T.) if it has all necessary information; otherwise, it returns FALSE (.F.).

Example

? email_profile_valid("Default")
= .T.

? email_profile_valid(email_get_active())
= .T.

See Also